//
//  OMCollectionSearchItemCollectHeader.h
//  OMENGO_NEW
//
//  Created by 梁尚嘉 on 2017/4/21.
//  Copyright © 2017年 Kamfat. All rights reserved.
//

#import <UIKit/UIKit.h>
@class OMCollectionSearchItemCollectHeader;
@protocol OMCollectionSearchItemCollectHeaderDelegate <NSObject>

- (void)didSelectRightButtonOnHeader:(OMCollectionSearchItemCollectHeader*)header atSection:(NSUInteger)section;

@end
@interface OMCollectionSearchItemCollectHeader : UICollectionReusableView
@property (nonatomic, assign) NSUInteger section;
@property (nonatomic, strong) UIImageView *imageView;
@property (nonatomic, strong) UILabel *elementLabel;
@property (nonatomic, strong) UIButton *rightButton;

@property (nonatomic, weak) id<OMCollectionSearchItemCollectHeaderDelegate> delegate;
- (void)configure;
@end
